package com.liang.book.model;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class BookInfo {
    private Integer id;
    private String bookName;
    private String author;
    private Integer count;
    private BigDecimal price;
   // private Long price; //Long表示的是存多少分，价格不用float 和double;
    private String publish;
    private Integer status;//可枚举  对象可以使用Integer/枚举类
    private String stateCN;
    private Date createTime;
    private Date updateTime;
}
